{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 40,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import seaborn as sns\n",
    "import numpy as np\n",
    "%matplotlib inline\n",
    "import matplotlib.pyplot as plt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 48,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "def f(yi_head, yi, lambda_=0):\n",
    "    theta = 1/(1 + np.exp(-yi_head))\n",
    "    return - (theta-yi) / (theta*(1-theta) + lambda_)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 49,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def h(x):\n",
    "    theta = 1/(1 + np.exp(-x))\n",
    "    return theta*(1-theta)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[<matplotlib.lines.Line2D at 0x7f6b50599208>]"
      ]
     },
     "execution_count": 50,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAh0AAAFoCAYAAADzZ0kIAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAAPYQAAD2EBqD+naQAAIABJREFUeJzt3XuU3WWd5/v33rsuqVSlKpWqXEgggiAPAs0tXLUv3tbY\nKvRlpF0eL3OUUcbWacXjeMChl3o854C9sFk4bSPKrAGOjbT2yGppZEZt0HYcoIcY7jQPmBAIJCGV\npFKVVFXqus8fv18lm7Iqddu1f1V7v19rZdWu/fx+v/omT6ryyfN7nueXKxaLSJIkLbR81gVIkqTa\nYOiQJEkVYeiQJEkVYeiQJEkVYeiQJEkVYeiQJEkVYeiQJEkVYeiQJEkVYeiQJEkVYeiQJEkVUTfb\nE0IIG4GbgN8FhoH/DlwFnAP8DDicHpoDisCHY4w/SM/9NPBJYB3wBHBVjHFL2tYIfB14D9AI/Bz4\nRI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E8CZgBfB3wP9hXy4NMcZvwJT/bm4i+f4stQV430yv\nX+0jHcfSAXRPeG8/sGqSY7U4bQH+meR/ym8k6bvvZ1qRZmuq70OAzgrXovJ4CPgJcApwCclcnb/O\ntCKVy1TfrzP+Xl3SIx0hhA8C3yG5hzhufOLSR2OM/980l5hsCNCH0SwSM+jf95a83x9C+BTwTAjh\npBjjCxUsVfPjUHwViTG+ufTTEMLVJPf9Px5jHM6qLpXNvL5fl3ToiDHeCdw5x9O7SJJ4qQ5g37yK\nUtnMoX+3px/XA4aOpaGL5PuuVAdJsPQ2WXXYDhRIboG+km0pmqepvl/3zPQCtXx7ZTNwdgih9M/g\nApLhei1yIYSNIYSbQwj1JW+fTvKP1baMytLsbQY2hhBKb2teCDwTY+zPqCbNUQjhnBDC1ya8fTrJ\nEtqdGZSk8tpMMq+j1Kz+3VzSIx2zMNlw0H1AL/DnIYQbSOYF/FvgA5Mcq8VnD/AHwEgI4RpgJcmq\nh3tijLsyrUwzFmN8LITwCPDVEMLngA3AZ4Ebsq1Mc7QHuDKEsAe4CTgR+ArJHkjeul767gS+HEK4\nIn39dpItJy6a6QVyxWL1/j0IITwLbCQJV3lgmOR/wiHGuCOEcDrJPh3nA7tJNjn5dlb1anZCCGeQ\nBI0LSfr1bpJZ8r3HPFGLSghhPXAr8BagB/hmjPH/zrQozVkI4beBvwB+CzgM3A78eYxxKMu6NDMh\nhAGSn6fjo8gjQDHGuDxt/23gr0j2ttoOXBNj/OFMr1/VoUOSJC0etTynQ5IkVZChQ5IkVYShQ5Ik\nVYShQ5IkVYShQ5IkVYShQ5IkVYShQ5IkVYShQ5IkVYShQ5IkVYShQ5IkVYShQ5IkVcT/D01yBrGZ\nxd7wAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7f6b50601160>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "x = np.linspace(-10, 10, 1000)\n",
    "y = np.ones((1000,))\n",
    "\n",
    "plt.plot(x, f(x, y))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "from src import config\n",
    "assert config.dataset == 'val'\n",
    "train = pd.read_csv(config.pj_root + 'data/' + config.dataset + '.csv', index_col='no')\n",
    "\n",
    "assert train.columns[0] == 'flag'\n",
    "a_feature = pd.read_csv(config.pj_root + 'data/a_feature.csv', index_col='no')\n",
    "train = train.join(a_feature)\n",
    "\n",
    "if len(config.drop_columns) != 0:\n",
    "    train = train.drop(config.drop_columns, axis=1)\n",
    "\n",
    "if len(config.select_columns) != 0:\n",
    "    config.select_columns.insert(0, 'flag')  # use flag in training\n",
    "    train = train[train.columns[train.columns.isin(config.select_columns)]]\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "new_feature = pd.DataFrame(index = train.index)\n",
    "\n",
    "for col in config.select_columns:\n",
    "    if col == 'flag':\n",
    "        continue\n",
    "    if len(train[col].value_counts()) < 15:\n",
    "        new_feature = new_feature.join(pd.get_dummies(train[col], prefix=col))\n",
    "    else:\n",
    "        temp = train[col].map(lambda x: np.nan if x==-1 else x)\n",
    "        temp = np.log(temp + 1)\n",
    "        temp = temp.fillna(temp.mean())\n",
    "        new_feature = new_feature.join(temp)\n",
    "new_feature = train"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "temp = train.UserInfo_82.map(lambda x: np.nan if x==-1 else x)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>UserInfo_82</th>\n",
       "      <th>UserInfo_222_-1.0</th>\n",
       "      <th>UserInfo_222_0.0</th>\n",
       "      <th>UserInfo_222_1.0</th>\n",
       "      <th>UserInfo_222_2.0</th>\n",
       "      <th>UserInfo_222_3.0</th>\n",
       "      <th>UserInfo_242</th>\n",
       "      <th>UserInfo_130</th>\n",
       "      <th>UserInfo_149_-1.0</th>\n",
       "      <th>UserInfo_149_0.0</th>\n",
       "      <th>...</th>\n",
       "      <th>ProductInfo_35_0.0</th>\n",
       "      <th>ProductInfo_35_1.0</th>\n",
       "      <th>UserInfo_38_-1.0</th>\n",
       "      <th>UserInfo_38_0.0</th>\n",
       "      <th>UserInfo_38_1.0</th>\n",
       "      <th>ProductInfo_27_-1.0</th>\n",
       "      <th>ProductInfo_27_0.0</th>\n",
       "      <th>ProductInfo_27_1.0</th>\n",
       "      <th>UserInfo_17</th>\n",
       "      <th>UserInfo_105</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>no</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>4.143135</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>11.367911</td>\n",
       "      <td>3.688879</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>6.602588</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>3.044522</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>8.699681</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.079442</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>3.332205</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>8.699681</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>8.689547</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>3.295837</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.210440</td>\n",
       "      <td>1.386294</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>8.119806</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>41</th>\n",
       "      <td>3.295837</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>0.693147</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>45</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>57</th>\n",
       "      <td>4.595120</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>7.601402</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>66</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>70</th>\n",
       "      <td>3.850148</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>8.517393</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>73</th>\n",
       "      <td>5.111988</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>7.025538</td>\n",
       "      <td>5.056246</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>80</th>\n",
       "      <td>4.127134</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>8.517393</td>\n",
       "      <td>1.945910</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>88</th>\n",
       "      <td>1.791759</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.791759</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>94</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.197225</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>102</th>\n",
       "      <td>0.693147</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>8.294300</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>103</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>110</th>\n",
       "      <td>2.079442</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.903538</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>111</th>\n",
       "      <td>3.218876</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>10.221978</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>118</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>124</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>4.574711</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>135</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>152</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>154</th>\n",
       "      <td>4.605170</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>1.945910</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>155</th>\n",
       "      <td>4.615121</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>7.824446</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>169</th>\n",
       "      <td>2.944439</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.210440</td>\n",
       "      <td>3.091042</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17341</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17351</th>\n",
       "      <td>4.304065</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>8.699681</td>\n",
       "      <td>3.828641</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>8.699681</td>\n",
       "      <td>8.604730</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17355</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>8.006701</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17360</th>\n",
       "      <td>1.098612</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17366</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17367</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17372</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17373</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17375</th>\n",
       "      <td>3.044522</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.615872</td>\n",
       "      <td>2.397895</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17379</th>\n",
       "      <td>3.496508</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>8.853808</td>\n",
       "      <td>2.833213</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>8.823754</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17382</th>\n",
       "      <td>4.394449</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>7.601402</td>\n",
       "      <td>1.098612</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17389</th>\n",
       "      <td>2.397895</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.259226</td>\n",
       "      <td>3.850148</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17390</th>\n",
       "      <td>4.779123</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17398</th>\n",
       "      <td>4.663439</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>8.699681</td>\n",
       "      <td>2.484907</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17402</th>\n",
       "      <td>4.553877</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>8.006701</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17406</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17408</th>\n",
       "      <td>4.584967</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>6.908755</td>\n",
       "      <td>0.693147</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17410</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>8.517393</td>\n",
       "      <td>4.276666</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17411</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17413</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17421</th>\n",
       "      <td>4.663439</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.210440</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17423</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17425</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17431</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17434</th>\n",
       "      <td>3.178054</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>8.517393</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>8.358202</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17437</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.210440</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17442</th>\n",
       "      <td>3.600846</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17451</th>\n",
       "      <td>3.713572</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>11.242730</td>\n",
       "      <td>4.094345</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17453</th>\n",
       "      <td>3.496508</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>8.006701</td>\n",
       "      <td>2.079442</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>7.269874</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17460</th>\n",
       "      <td>3.850148</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>9.306257</td>\n",
       "      <td>2.946671</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.450393</td>\n",
       "      <td>8.823719</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>4000 rows × 99 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       UserInfo_82  UserInfo_222_-1.0  UserInfo_222_0.0  UserInfo_222_1.0  \\\n",
       "no                                                                          \n",
       "1         4.143135                0.0               0.0               0.0   \n",
       "6         3.044522                0.0               0.0               0.0   \n",
       "12        3.600846                0.0               1.0               0.0   \n",
       "13        3.332205                0.0               1.0               0.0   \n",
       "14        3.600846                1.0               0.0               0.0   \n",
       "15        3.295837                0.0               1.0               0.0   \n",
       "25        3.600846                1.0               0.0               0.0   \n",
       "41        3.295837                0.0               0.0               0.0   \n",
       "45        3.600846                1.0               0.0               0.0   \n",
       "46        3.600846                1.0               0.0               0.0   \n",
       "47        3.600846                0.0               1.0               0.0   \n",
       "51        3.600846                1.0               0.0               0.0   \n",
       "57        4.595120                0.0               1.0               0.0   \n",
       "66        3.600846                1.0               0.0               0.0   \n",
       "70        3.850148                0.0               1.0               0.0   \n",
       "73        5.111988                0.0               1.0               0.0   \n",
       "80        4.127134                0.0               1.0               0.0   \n",
       "88        1.791759                0.0               1.0               0.0   \n",
       "94        3.600846                0.0               1.0               0.0   \n",
       "102       0.693147                0.0               1.0               0.0   \n",
       "103       3.600846                1.0               0.0               0.0   \n",
       "110       2.079442                0.0               1.0               0.0   \n",
       "111       3.218876                0.0               0.0               1.0   \n",
       "118       3.600846                1.0               0.0               0.0   \n",
       "124       3.600846                0.0               1.0               0.0   \n",
       "135       3.600846                1.0               0.0               0.0   \n",
       "152       3.600846                1.0               0.0               0.0   \n",
       "154       4.605170                0.0               1.0               0.0   \n",
       "155       4.615121                0.0               1.0               0.0   \n",
       "169       2.944439                0.0               1.0               0.0   \n",
       "...            ...                ...               ...               ...   \n",
       "17341     3.600846                1.0               0.0               0.0   \n",
       "17351     4.304065                0.0               1.0               0.0   \n",
       "17355     3.600846                1.0               0.0               0.0   \n",
       "17360     1.098612                0.0               1.0               0.0   \n",
       "17366     3.600846                0.0               1.0               0.0   \n",
       "17367     3.600846                1.0               0.0               0.0   \n",
       "17372     3.600846                1.0               0.0               0.0   \n",
       "17373     3.600846                0.0               1.0               0.0   \n",
       "17375     3.044522                0.0               1.0               0.0   \n",
       "17379     3.496508                0.0               1.0               0.0   \n",
       "17382     4.394449                0.0               1.0               0.0   \n",
       "17389     2.397895                0.0               1.0               0.0   \n",
       "17390     4.779123                0.0               1.0               0.0   \n",
       "17398     4.663439                0.0               1.0               0.0   \n",
       "17402     4.553877                0.0               1.0               0.0   \n",
       "17406     3.600846                1.0               0.0               0.0   \n",
       "17408     4.584967                0.0               1.0               0.0   \n",
       "17410     3.600846                0.0               1.0               0.0   \n",
       "17411     3.600846                1.0               0.0               0.0   \n",
       "17413     3.600846                1.0               0.0               0.0   \n",
       "17421     4.663439                0.0               1.0               0.0   \n",
       "17423     3.600846                1.0               0.0               0.0   \n",
       "17425     3.600846                0.0               1.0               0.0   \n",
       "17431     3.600846                1.0               0.0               0.0   \n",
       "17434     3.178054                0.0               0.0               0.0   \n",
       "17437     3.600846                0.0               1.0               0.0   \n",
       "17442     3.600846                1.0               0.0               0.0   \n",
       "17451     3.713572                0.0               0.0               1.0   \n",
       "17453     3.496508                0.0               0.0               0.0   \n",
       "17460     3.850148                0.0               1.0               0.0   \n",
       "\n",
       "       UserInfo_222_2.0  UserInfo_222_3.0  UserInfo_242  UserInfo_130  \\\n",
       "no                                                                      \n",
       "1                   0.0               1.0     11.367911      3.688879   \n",
       "6                   0.0               1.0      8.699681      2.946671   \n",
       "12                  0.0               0.0      9.306257      2.079442   \n",
       "13                  0.0               0.0      8.699681      2.946671   \n",
       "14                  0.0               0.0      9.306257      2.946671   \n",
       "15                  0.0               0.0      9.210440      1.386294   \n",
       "25                  0.0               0.0      9.306257      2.946671   \n",
       "41                  1.0               0.0      9.306257      0.693147   \n",
       "45                  0.0               0.0      9.306257      2.946671   \n",
       "46                  0.0               0.0      9.306257      2.946671   \n",
       "47                  0.0               0.0      9.306257      2.946671   \n",
       "51                  0.0               0.0      9.306257      2.946671   \n",
       "57                  0.0               0.0      7.601402      2.946671   \n",
       "66                  0.0               0.0      9.306257      2.946671   \n",
       "70                  0.0               0.0      8.517393      2.946671   \n",
       "73                  0.0               0.0      7.025538      5.056246   \n",
       "80                  0.0               0.0      8.517393      1.945910   \n",
       "88                  0.0               0.0      0.000000      1.791759   \n",
       "94                  0.0               0.0      9.306257      2.197225   \n",
       "102                 0.0               0.0      8.294300      2.946671   \n",
       "103                 0.0               0.0      9.306257      2.946671   \n",
       "110                 0.0               0.0      9.903538      2.946671   \n",
       "111                 0.0               0.0     10.221978      2.946671   \n",
       "118                 0.0               0.0      9.306257      2.946671   \n",
       "124                 0.0               0.0      9.306257      4.574711   \n",
       "135                 0.0               0.0      9.306257      2.946671   \n",
       "152                 0.0               0.0      9.306257      2.946671   \n",
       "154                 0.0               0.0      9.306257      1.945910   \n",
       "155                 0.0               0.0      7.824446      2.946671   \n",
       "169                 0.0               0.0      9.210440      3.091042   \n",
       "...                 ...               ...           ...           ...   \n",
       "17341               0.0               0.0      9.306257      2.946671   \n",
       "17351               0.0               0.0      8.699681      3.828641   \n",
       "17355               0.0               0.0      8.006701      2.946671   \n",
       "17360               0.0               0.0      0.000000      2.946671   \n",
       "17366               0.0               0.0      9.306257      2.946671   \n",
       "17367               0.0               0.0      9.306257      2.946671   \n",
       "17372               0.0               0.0      9.306257      2.946671   \n",
       "17373               0.0               0.0      9.306257      2.946671   \n",
       "17375               0.0               0.0      9.615872      2.397895   \n",
       "17379               0.0               0.0      8.853808      2.833213   \n",
       "17382               0.0               0.0      7.601402      1.098612   \n",
       "17389               0.0               0.0      9.259226      3.850148   \n",
       "17390               0.0               0.0      0.000000      2.946671   \n",
       "17398               0.0               0.0      8.699681      2.484907   \n",
       "17402               0.0               0.0      8.006701      2.946671   \n",
       "17406               0.0               0.0      9.306257      2.946671   \n",
       "17408               0.0               0.0      6.908755      0.693147   \n",
       "17410               0.0               0.0      8.517393      4.276666   \n",
       "17411               0.0               0.0      9.306257      2.946671   \n",
       "17413               0.0               0.0      9.306257      2.946671   \n",
       "17421               0.0               0.0      9.210440      2.946671   \n",
       "17423               0.0               0.0      9.306257      2.946671   \n",
       "17425               0.0               0.0      9.306257      2.946671   \n",
       "17431               0.0               0.0      9.306257      2.946671   \n",
       "17434               0.0               1.0      8.517393      2.946671   \n",
       "17437               0.0               0.0      9.210440      2.946671   \n",
       "17442               0.0               0.0      9.306257      2.946671   \n",
       "17451               0.0               0.0     11.242730      4.094345   \n",
       "17453               1.0               0.0      8.006701      2.079442   \n",
       "17460               0.0               0.0      9.306257      2.946671   \n",
       "\n",
       "       UserInfo_149_-1.0  UserInfo_149_0.0      ...       ProductInfo_35_0.0  \\\n",
       "no                                              ...                            \n",
       "1                    0.0               0.0      ...                      0.0   \n",
       "6                    0.0               0.0      ...                      0.0   \n",
       "12                   0.0               0.0      ...                      0.0   \n",
       "13                   0.0               0.0      ...                      0.0   \n",
       "14                   0.0               1.0      ...                      0.0   \n",
       "15                   0.0               0.0      ...                      0.0   \n",
       "25                   0.0               0.0      ...                      0.0   \n",
       "41                   0.0               0.0      ...                      0.0   \n",
       "45                   0.0               0.0      ...                      0.0   \n",
       "46                   0.0               0.0      ...                      0.0   \n",
       "47                   0.0               0.0      ...                      0.0   \n",
       "51                   0.0               0.0      ...                      0.0   \n",
       "57                   0.0               1.0      ...                      0.0   \n",
       "66                   0.0               0.0      ...                      1.0   \n",
       "70                   0.0               0.0      ...                      0.0   \n",
       "73                   0.0               0.0      ...                      0.0   \n",
       "80                   0.0               1.0      ...                      1.0   \n",
       "88                   0.0               0.0      ...                      1.0   \n",
       "94                   0.0               0.0      ...                      0.0   \n",
       "102                  0.0               0.0      ...                      0.0   \n",
       "103                  0.0               0.0      ...                      0.0   \n",
       "110                  0.0               0.0      ...                      0.0   \n",
       "111                  0.0               0.0      ...                      0.0   \n",
       "118                  0.0               0.0      ...                      0.0   \n",
       "124                  0.0               0.0      ...                      0.0   \n",
       "135                  0.0               0.0      ...                      0.0   \n",
       "152                  0.0               0.0      ...                      0.0   \n",
       "154                  0.0               1.0      ...                      0.0   \n",
       "155                  0.0               0.0      ...                      0.0   \n",
       "169                  0.0               0.0      ...                      0.0   \n",
       "...                  ...               ...      ...                      ...   \n",
       "17341                0.0               1.0      ...                      0.0   \n",
       "17351                0.0               0.0      ...                      0.0   \n",
       "17355                0.0               1.0      ...                      0.0   \n",
       "17360                0.0               1.0      ...                      0.0   \n",
       "17366                0.0               0.0      ...                      0.0   \n",
       "17367                0.0               0.0      ...                      0.0   \n",
       "17372                0.0               0.0      ...                      1.0   \n",
       "17373                0.0               0.0      ...                      1.0   \n",
       "17375                0.0               0.0      ...                      1.0   \n",
       "17379                0.0               0.0      ...                      1.0   \n",
       "17382                0.0               0.0      ...                      1.0   \n",
       "17389                0.0               1.0      ...                      0.0   \n",
       "17390                0.0               0.0      ...                      0.0   \n",
       "17398                0.0               0.0      ...                      1.0   \n",
       "17402                0.0               1.0      ...                      0.0   \n",
       "17406                0.0               1.0      ...                      0.0   \n",
       "17408                0.0               1.0      ...                      0.0   \n",
       "17410                0.0               0.0      ...                      0.0   \n",
       "17411                0.0               0.0      ...                      0.0   \n",
       "17413                0.0               0.0      ...                      0.0   \n",
       "17421                0.0               0.0      ...                      0.0   \n",
       "17423                0.0               0.0      ...                      0.0   \n",
       "17425                0.0               0.0      ...                      0.0   \n",
       "17431                0.0               0.0      ...                      0.0   \n",
       "17434                0.0               0.0      ...                      0.0   \n",
       "17437                0.0               1.0      ...                      0.0   \n",
       "17442                0.0               0.0      ...                      0.0   \n",
       "17451                0.0               0.0      ...                      0.0   \n",
       "17453                0.0               0.0      ...                      0.0   \n",
       "17460                0.0               1.0      ...                      0.0   \n",
       "\n",
       "       ProductInfo_35_1.0  UserInfo_38_-1.0  UserInfo_38_0.0  UserInfo_38_1.0  \\\n",
       "no                                                                              \n",
       "1                     1.0               0.0              0.0              1.0   \n",
       "6                     0.0               1.0              0.0              0.0   \n",
       "12                    1.0               0.0              1.0              0.0   \n",
       "13                    1.0               0.0              1.0              0.0   \n",
       "14                    0.0               1.0              0.0              0.0   \n",
       "15                    1.0               0.0              1.0              0.0   \n",
       "25                    0.0               1.0              0.0              0.0   \n",
       "41                    0.0               1.0              0.0              0.0   \n",
       "45                    0.0               1.0              0.0              0.0   \n",
       "46                    0.0               1.0              0.0              0.0   \n",
       "47                    0.0               1.0              0.0              0.0   \n",
       "51                    0.0               1.0              0.0              0.0   \n",
       "57                    0.0               1.0              0.0              0.0   \n",
       "66                    0.0               0.0              1.0              0.0   \n",
       "70                    1.0               0.0              1.0              0.0   \n",
       "73                    1.0               0.0              1.0              0.0   \n",
       "80                    0.0               0.0              0.0              1.0   \n",
       "88                    0.0               0.0              1.0              0.0   \n",
       "94                    1.0               0.0              0.0              1.0   \n",
       "102                   0.0               1.0              0.0              0.0   \n",
       "103                   0.0               1.0              0.0              0.0   \n",
       "110                   0.0               1.0              0.0              0.0   \n",
       "111                   0.0               1.0              0.0              0.0   \n",
       "118                   0.0               1.0              0.0              0.0   \n",
       "124                   1.0               0.0              1.0              0.0   \n",
       "135                   0.0               1.0              0.0              0.0   \n",
       "152                   0.0               1.0              0.0              0.0   \n",
       "154                   0.0               1.0              0.0              0.0   \n",
       "155                   0.0               1.0              0.0              0.0   \n",
       "169                   0.0               1.0              0.0              0.0   \n",
       "...                   ...               ...              ...              ...   \n",
       "17341                 0.0               1.0              0.0              0.0   \n",
       "17351                 1.0               0.0              0.0              1.0   \n",
       "17355                 0.0               1.0              0.0              0.0   \n",
       "17360                 0.0               1.0              0.0              0.0   \n",
       "17366                 0.0               1.0              0.0              0.0   \n",
       "17367                 0.0               1.0              0.0              0.0   \n",
       "17372                 0.0               0.0              1.0              0.0   \n",
       "17373                 0.0               0.0              1.0              0.0   \n",
       "17375                 0.0               0.0              1.0              0.0   \n",
       "17379                 0.0               0.0              0.0              1.0   \n",
       "17382                 0.0               0.0              0.0              1.0   \n",
       "17389                 0.0               1.0              0.0              0.0   \n",
       "17390                 0.0               1.0              0.0              0.0   \n",
       "17398                 0.0               0.0              0.0              1.0   \n",
       "17402                 1.0               0.0              0.0              1.0   \n",
       "17406                 1.0               0.0              1.0              0.0   \n",
       "17408                 0.0               1.0              0.0              0.0   \n",
       "17410                 1.0               0.0              1.0              0.0   \n",
       "17411                 0.0               1.0              0.0              0.0   \n",
       "17413                 0.0               1.0              0.0              0.0   \n",
       "17421                 0.0               1.0              0.0              0.0   \n",
       "17423                 0.0               1.0              0.0              0.0   \n",
       "17425                 0.0               1.0              0.0              0.0   \n",
       "17431                 0.0               1.0              0.0              0.0   \n",
       "17434                 1.0               0.0              1.0              0.0   \n",
       "17437                 0.0               1.0              0.0              0.0   \n",
       "17442                 0.0               1.0              0.0              0.0   \n",
       "17451                 1.0               0.0              1.0              0.0   \n",
       "17453                 1.0               0.0              1.0              0.0   \n",
       "17460                 0.0               1.0              0.0              0.0   \n",
       "\n",
       "       ProductInfo_27_-1.0  ProductInfo_27_0.0  ProductInfo_27_1.0  \\\n",
       "no                                                                   \n",
       "1                      0.0                 1.0                 0.0   \n",
       "6                      1.0                 0.0                 0.0   \n",
       "12                     0.0                 1.0                 0.0   \n",
       "13                     0.0                 1.0                 0.0   \n",
       "14                     1.0                 0.0                 0.0   \n",
       "15                     0.0                 1.0                 0.0   \n",
       "25                     1.0                 0.0                 0.0   \n",
       "41                     1.0                 0.0                 0.0   \n",
       "45                     1.0                 0.0                 0.0   \n",
       "46                     1.0                 0.0                 0.0   \n",
       "47                     1.0                 0.0                 0.0   \n",
       "51                     1.0                 0.0                 0.0   \n",
       "57                     1.0                 0.0                 0.0   \n",
       "66                     0.0                 1.0                 0.0   \n",
       "70                     0.0                 0.0                 1.0   \n",
       "73                     0.0                 1.0                 0.0   \n",
       "80                     0.0                 1.0                 0.0   \n",
       "88                     0.0                 0.0                 1.0   \n",
       "94                     0.0                 1.0                 0.0   \n",
       "102                    1.0                 0.0                 0.0   \n",
       "103                    1.0                 0.0                 0.0   \n",
       "110                    1.0                 0.0                 0.0   \n",
       "111                    1.0                 0.0                 0.0   \n",
       "118                    1.0                 0.0                 0.0   \n",
       "124                    0.0                 1.0                 0.0   \n",
       "135                    1.0                 0.0                 0.0   \n",
       "152                    1.0                 0.0                 0.0   \n",
       "154                    1.0                 0.0                 0.0   \n",
       "155                    1.0                 0.0                 0.0   \n",
       "169                    1.0                 0.0                 0.0   \n",
       "...                    ...                 ...                 ...   \n",
       "17341                  1.0                 0.0                 0.0   \n",
       "17351                  0.0                 0.0                 1.0   \n",
       "17355                  1.0                 0.0                 0.0   \n",
       "17360                  1.0                 0.0                 0.0   \n",
       "17366                  1.0                 0.0                 0.0   \n",
       "17367                  1.0                 0.0                 0.0   \n",
       "17372                  0.0                 0.0                 1.0   \n",
       "17373                  0.0                 0.0                 1.0   \n",
       "17375                  0.0                 1.0                 0.0   \n",
       "17379                  0.0                 0.0                 1.0   \n",
       "17382                  0.0                 0.0                 1.0   \n",
       "17389                  1.0                 0.0                 0.0   \n",
       "17390                  1.0                 0.0                 0.0   \n",
       "17398                  0.0                 1.0                 0.0   \n",
       "17402                  0.0                 0.0                 1.0   \n",
       "17406                  0.0                 1.0                 0.0   \n",
       "17408                  1.0                 0.0                 0.0   \n",
       "17410                  0.0                 1.0                 0.0   \n",
       "17411                  1.0                 0.0                 0.0   \n",
       "17413                  1.0                 0.0                 0.0   \n",
       "17421                  1.0                 0.0                 0.0   \n",
       "17423                  1.0                 0.0                 0.0   \n",
       "17425                  1.0                 0.0                 0.0   \n",
       "17431                  1.0                 0.0                 0.0   \n",
       "17434                  0.0                 1.0                 0.0   \n",
       "17437                  1.0                 0.0                 0.0   \n",
       "17442                  1.0                 0.0                 0.0   \n",
       "17451                  0.0                 1.0                 0.0   \n",
       "17453                  0.0                 0.0                 1.0   \n",
       "17460                  1.0                 0.0                 0.0   \n",
       "\n",
       "       UserInfo_17  UserInfo_105  \n",
       "no                                \n",
       "1         6.602588      8.823719  \n",
       "6         1.450393      8.823719  \n",
       "12        0.000000      8.823719  \n",
       "13        0.000000      8.689547  \n",
       "14        1.450393      8.823719  \n",
       "15        0.000000      8.119806  \n",
       "25        1.450393      8.823719  \n",
       "41        1.450393      8.823719  \n",
       "45        1.450393      8.823719  \n",
       "46        1.450393      8.823719  \n",
       "47        1.450393      8.823719  \n",
       "51        1.450393      8.823719  \n",
       "57        1.450393      8.823719  \n",
       "66        1.450393      8.823719  \n",
       "70        1.450393      8.823719  \n",
       "73        1.450393      8.823719  \n",
       "80        1.450393      8.823719  \n",
       "88        1.450393      8.823719  \n",
       "94        1.450393      8.823719  \n",
       "102       1.450393      8.823719  \n",
       "103       1.450393      8.823719  \n",
       "110       1.450393      8.823719  \n",
       "111       1.450393      8.823719  \n",
       "118       1.450393      8.823719  \n",
       "124       1.450393      8.823719  \n",
       "135       1.450393      8.823719  \n",
       "152       1.450393      8.823719  \n",
       "154       1.450393      8.823719  \n",
       "155       1.450393      8.823719  \n",
       "169       1.450393      8.823719  \n",
       "...            ...           ...  \n",
       "17341     1.450393      8.823719  \n",
       "17351     8.699681      8.604730  \n",
       "17355     1.450393      8.823719  \n",
       "17360     1.450393      8.823719  \n",
       "17366     1.450393      8.823719  \n",
       "17367     1.450393      8.823719  \n",
       "17372     1.450393      8.823719  \n",
       "17373     1.450393      8.823719  \n",
       "17375     1.450393      8.823719  \n",
       "17379     0.000000      8.823754  \n",
       "17382     0.000000      8.823719  \n",
       "17389     1.450393      8.823719  \n",
       "17390     1.450393      8.823719  \n",
       "17398     1.450393      8.823719  \n",
       "17402     1.450393      8.823719  \n",
       "17406     1.450393      8.823719  \n",
       "17408     1.450393      8.823719  \n",
       "17410     1.450393      8.823719  \n",
       "17411     1.450393      8.823719  \n",
       "17413     1.450393      8.823719  \n",
       "17421     1.450393      8.823719  \n",
       "17423     1.450393      8.823719  \n",
       "17425     1.450393      8.823719  \n",
       "17431     1.450393      8.823719  \n",
       "17434     0.000000      8.358202  \n",
       "17437     1.450393      8.823719  \n",
       "17442     1.450393      8.823719  \n",
       "17451     0.000000      8.823719  \n",
       "17453     0.000000      7.269874  \n",
       "17460     1.450393      8.823719  \n",
       "\n",
       "[4000 rows x 99 columns]"
      ]
     },
     "execution_count": 38,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "new_feature"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "no\n",
       "1        4.143135\n",
       "6        3.044522\n",
       "12            NaN\n",
       "13       3.332205\n",
       "14            NaN\n",
       "15       3.295837\n",
       "25            NaN\n",
       "41       3.295837\n",
       "45            NaN\n",
       "46            NaN\n",
       "47            NaN\n",
       "51            NaN\n",
       "57       4.595120\n",
       "66            NaN\n",
       "70       3.850148\n",
       "73       5.111988\n",
       "80       4.127134\n",
       "88       1.791759\n",
       "94            NaN\n",
       "102      0.693147\n",
       "103           NaN\n",
       "110      2.079442\n",
       "111      3.218876\n",
       "118           NaN\n",
       "124           NaN\n",
       "135           NaN\n",
       "152           NaN\n",
       "154      4.605170\n",
       "155      4.615121\n",
       "169      2.944439\n",
       "           ...   \n",
       "17341         NaN\n",
       "17351    4.304065\n",
       "17355         NaN\n",
       "17360    1.098612\n",
       "17366         NaN\n",
       "17367         NaN\n",
       "17372         NaN\n",
       "17373         NaN\n",
       "17375    3.044522\n",
       "17379    3.496508\n",
       "17382    4.394449\n",
       "17389    2.397895\n",
       "17390    4.779123\n",
       "17398    4.663439\n",
       "17402    4.553877\n",
       "17406         NaN\n",
       "17408    4.584967\n",
       "17410         NaN\n",
       "17411         NaN\n",
       "17413         NaN\n",
       "17421    4.663439\n",
       "17423         NaN\n",
       "17425         NaN\n",
       "17431         NaN\n",
       "17434    3.178054\n",
       "17437         NaN\n",
       "17442         NaN\n",
       "17451    3.713572\n",
       "17453    3.496508\n",
       "17460    3.850148\n",
       "Name: UserInfo_82, dtype: float64"
      ]
     },
     "execution_count": 35,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "temp"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "anaconda-cloud": {},
  "kernelspec": {
   "display_name": "Python [conda root]",
   "language": "python",
   "name": "conda-root-py"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 1
}
